<!---
	Name         : dsp.subpagelist.cfm
	Author       : Sam Curren
	Created      : 16 Aug 06
	Last Updated : 
	History      : 
--->

<cfset page = viewState.getValue("page")>
<cfset pageChildren = viewState.getValue("pagechildren")>
<cfset webpath = viewState.getValue("webpath")>

<cfset parentPagePathLength = LEN(page.getPath()) + 1/>

<cfif pageChildren.recordCount>
<cfoutput>
<b>Sub Pages</b>
<ul id="navlinks">
<cfloop query="pageChildren">
	<li><a href="#webpath#/index.cfm/#path#">#segment#</a></li>
</cfloop>
</ul>
</cfoutput>
</cfif>

